hextastudio/ui needs your support to stay running 🫶 Help us
Alert Dialog
A modal dialog that interrupts the user with important content and expects a response.
Preview
Installation
Basic Usage
import { useState } from 'react';
import {
AlertDialog,
AlertDialogTitle,
AlertDialogContent,
AlertDialogButtons
} from '@/components/hexta-ui/AlertDialog';
export const MyComponent = () => {
const [isOpen, setIsOpen] = useState(false);
Custom Positioning
Props Reference
Prop Name
Type
Default
Description
Prop Name | Type | Default | Description |
---|